package com.car.domain;

import java.io.Serializable;
import java.util.List;

    public class Store1 implements Serializable {
        /**
         * 店铺名字
         */
        private String name;
        /**
         * 汽车集合
         */
        private List<Car> carList;

        public Store1() {
        }

        public Store1(String name, List<Car> carList) {
            this.name = name;
            this.carList = carList;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<Car> getCarList() {
            return carList;
        }

        public void setCarList(List<Car> carList) {
            this.carList = carList;
        }

        @Override
        public String toString() {
            return "Store{" +
                    "name='" + name + '\'' +
                    ", carList=" + carList +
                    '}';
        }
    }

